package com.easyjop.mappers;

import org.apache.ibatis.annotations.Param;

/**
 *  数据库操作接口
 */
public interface QuestionBankMapper<T,P> extends BaseMapper<T,P> {

	/**
	 * 根据BankId更新
	 */
	 Integer updateByBankId(@Param("bean") T t,@Param("bankId") Integer bankId);


	/**
	 * 根据BankId删除
	 */
	 Integer deleteByBankId(@Param("bankId") Integer bankId);


	/**
	 * 根据BankId获取对象
	 */
	 T selectByBankId(@Param("bankId") Integer bankId);


}
